package com.example.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.entity.Major;
import com.example.entity.Resource;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;


@Getter
@Setter
@NoArgsConstructor
public class ResourceVO implements Serializable {

    /**
     * 自动编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("resource_title")
    private String  resourceTitle;

    @TableField("resource_url")
    private String resourceUrl;

    @TableField("pic_url")
    private String picUrl;


    @TableField("major_name")
    private String  majorName;

    @TableField("create_date")
    private LocalDateTime createDate;

}
